<?php

namespace app\member\model;

use think\helper\Hash;

/**
 * 产品模型
 */
class Supply extends \think\Model {

    protected $pk = 'id';
    protected $autoWriteTimestamp = true;

	public function member()
    {
        return $this->belongsTo('Member','mid');
    }

	public function attachment()
    {
        return $this->belongsTo('\app\common\model\Attachment','pictures','id');
    }
}
